package my.design.strategy;

/**
 * @author zp
 * @version 1.0
 * @description: 计算钱的策略接口
 * @date 2022/11/1 18:53
 */
public interface MemberStrategy {
    /**
     * @description: price商品的价格 n商品的个数
     * @author zp
     * @date: 2022/11/1 19:01
     * @param price
     * @param n
     * @return double
     */
    double calcPrice(double price, int n);
}


